<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        h1{
            text-align: left;
        }
        h2{
            text-align: center;
        }
        h3{
            text-align: right;
        }
        p{
            /* text-indent: 20px; */
            text-indent: 2em;
            text-decoration: underline;
            line-height: 50px;
        }
        a{
            text-decoration: none;
        }
    </style>
</head>
<body>
    <h1>靠左</h1>
    <h2>靠右</h2>
    <h3>居中</h3>
   <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatibus modi exercitationem, rem quisquam commodi provident optio, non labore ex numquam dolorum velit quod! Tenetur nemo nulla est impedit, itaque veniam!</p> 
    <a href="#">不跳转</a>
</body>
</html>